package gp;

import java.util.ArrayList;

public class GP {
	public Alphabet alphabet;
	public ArrayList<Generation> generations;
	
	public GP(){
		this.alphabet = new Alphabet();
		this.generations = new ArrayList<Generation>();
	}
	
	public void insert_symbol(String symbol, int degree){
		this.alphabet.insert_symbol(symbol, degree);
	}
	
	public void insert_generation(Generation generation){
		this.generations.add(generation);
	}
	
	public Symbol get_symbol(String symbol){
		return this.alphabet.get_symbol(symbol);
	}
}
